<template>
  <div class="container">
    <div class="nav">
      <div class="top">
        <router-link to="/my">
          <i></i>
        </router-link>

        <h5>我的优惠券</h5>

        <span></span>
      </div>
    </div>

    <div class="title">
        <input type="text" placeholder="请输入兑换码" class="inputN">
        <input type="button" value="兑换" class="buttonN">
    </div>

    <div class="choose">
        <van-tabs >
          <van-tab
            title="未使用"
          >
          <div class="logo">
            <img src="../assets/img/ic_empty_coupon.bd425b3.72624369.png" alt="" />

            <h5>暂无优惠券哦</h5>
          </div>

          </van-tab>
          <van-tab
            title="已使用"
          >
          <div class="logo">
            <img src="../assets/img/ic_empty_coupon.bd425b3.72624369.png" alt="" />

            <h5>暂无优惠券哦</h5>
          </div>
          
          </van-tab>
        </van-tabs>
      </div>
  </div>
</template>
<script>
export default {
    setup() {
        
    },
}
</script>
<style lang="scss" scoped>
@import "../assets/css/base.css";
.nav {
  display: flex;
  flex-direction: column;
}
.nav .top {
  display: flex;
  margin-left: 15px;
  align-items: center;
  justify-content: space-between;
}
.nav .top i {
  background-position: 0px 11px;
  display: block;
  background-image: url(../assets/img/下载.png);
  background-repeat: no-repeat;
  width: 48px;
  height: 48px;
  background-size: 22px 22px;
}
.nav .top span {
  display: block;
  width: 48px;
  height: 48px;
}
.nav .top h5 {
  height: 48px;
  line-height: 48px;
  font-weight: bold;
  font-size: 17px;
  margin: 0px;
}
.title{
  display: flex;
  padding: 0px 15px;
}
.title .inputN{
  background-color: #f6f7f9;
  height: 37px;
  flex: 1;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
  padding-left: 18px;
  color: #cecfd3;
}
.title .buttonN{
  background-color: #4c84ff;
  color: #fffffd;
  height: 37px;
  width: 25%;
   border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
}
.choose ul {
  display: flex;
  padding: 0px 15px 0px 15px;
  justify-content: space-between;
  height: 30px;
  line-height: 30px;
  box-shadow: 0px 7px 7px #f4f4f4;
}
.choose ul li {
  font-size: 14px;
  color: #c5cacd;
  position: relative;
  height: 34px;
  line-height: 30px;
}
.choose ul li.con {
  color: #242923;
  font-weight: bolder;
}
.choose ul li.con::after {
  display: block;
  content: "";
  width: 22px;
  height: 4px;
  background-color: #5479fb;
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  margin: 0px auto;
  border-radius: 2px;
}

.logo {
  display: flex;
  flex-direction: column;
  margin-top: 160px;
  align-items: center;
}
.logo img {
  width: 150px;
  height: 150px;
}
.logo h5 {
  font-size: 15px;
  color: #9c9794;
  height: 25px;
  line-height: 25px;
}
::v-deep .van-tabs__line {
  width: 22px;
  height: 4px;
  background-color: #5479fb;
}
::v-deep .van-tabs__wrap {
  box-shadow: 0px 6px 6px 0px #eaeaea;
}
//原本颜色
::v-deep .van-tab {
  color: #c5cacd;
  font-size: 13px;
}
::v-deep .van-tabs__wrap {
  box-shadow: 0px 6px 6px 0px #eaeaea;
}

::v-deep .van-tab--active {
  font-weight: bolder;
  color: #21273d;
}
</style>